<div class="main_body">
    <?php echo $this->element('main_menu')?>
		
	<div id="main_body_content">
	
	
		<div class="customers form">
		<?php echo $this->Form->create('Customer');?>
			<fieldset>
		 		<legend><?php __('Add Customer'); ?></legend>
			<?php
				echo $form->input('name',array('error'=>__("This field cannot be left blank",true)));
				echo $this->Form->input('surname');
		 		echo $this->Form->input('company');
		 		echo $this->Form->input('numer_id',array('label'=>__d("store","Numer NIP",true), 'type'=>'text'));
		 		echo $this->Form->input('bank_account');				
				echo $this->Form->input('email');
				echo $this->Form->input('password');
				echo $this->Form->input('address1');
				echo $this->Form->input('address2');
				echo $this->Form->input('address3');
				echo $this->Form->input('address4');
				echo $this->Form->input('phone1');
				echo $this->Form->input('phone2');
				echo $this->Form->input('phone3');
				echo $this->Form->input('phone4');
				echo $this->Form->input('note');
			?>
			</fieldset>
		<?php echo $this->Form->end(__('Submit', true));?>
		</div>

		<div class="clr"></div>	
	</div>	
		
	<?php echo $this->element('languages')?>	
	<div class="clr"></div>


</div>	
<div class="clr"></div>	
<div class="main_action">
	<div class="main_action_content">
	

		<div class="actions">
			<h2><?php __('Actions'); ?></h2>
			<ul>			
				<li><?php echo $this->Html->link(
					$html->image(HOST.'/actions_customers.png'), array('action' => 'index'),array('escape'=>false,'title'=>__("List Customers",true)));?>
					<div class="clr"></div>	
					<?php echo __("List Customers",true)?>
				</li>
			</ul>
		</div>
		<div class="clr"></div>
	</div>		
</div>